package com.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.entity.ColumnClass;
import com.repository.ColumnClassDao;
import com.service.base.BaseServiceImp;

@Service("ColumnClassService")
public class ColumnClassServiceImp extends BaseServiceImp<ColumnClass> implements ColumnClassService{
	@Autowired
	private ColumnClassDao columnClassDao;
	
	@Override
	@Transactional
	public boolean insertprice(ColumnClass o) {
		ColumnClass uir=new ColumnClass();
		List<ColumnClass> users=columnClassDao.find(uir);
		if (users.size()>0) {
			return false;
		}
		return true;
	}
	
}
